﻿@model IEnumerable<MinistryStandardPlatformWeb.Models.MileageStatistics>
<div class="box verticalbox fillparentheight">
    <div class="fillparentheight" id="mileagedetailcontainer" style="overflow:auto;border-bottom: #95B8E7 1px solid;">
        <table class="tablelist" id="mileagedetail">
            <thead>
                <tr>
                    <th>车牌号</th>
                    <th>Sim卡号</th>
                    <th>所属单位</th>
                    <th>统计时间</th>
                    <th>里程（公里）</th>
                </tr>
            </thead>
            <tbody>
                @{
                    foreach (var item in Model)
                    {
                    <tr id="@item.Sim">
                        <td>@item.VehicleId</td>
                        <td>@item.Sim</td>
                        <td>@item.ParentUnitName</td>
                        <td>@item.StatisticsTime</td>
                        <td>@item.Mileage</td>
                    </tr>
                    }
                }
            </tbody>
        </table>
    </div>
    <div style="margin-top: 5px;">
        <div style="float: right; margin-right: 18px;">
            <input type="button" value="导出明细" id="exportStatistics" onclick="tableToExcel('里程明细', 'mileagedetail');" />
        </div>
    </div>
</div>
